//
//  advanceSearch.h
//  EGA_Archives_iOS
//
//  Created by gad on 2/14/56 BE.
//  Copyright (c) 2556 EGA. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol advanceSearch<NSObject>
@required
- (void)advanceSearch:(NSString *)textSearch:(NSString *)startDate:(NSString *)endDate:(NSString *)chkAssign;
- (void)close;
@end

@interface advanceSearch : UIViewController
@property (retain, nonatomic) IBOutlet UITextField *textSearch;

@property (retain, nonatomic) IBOutlet UIButton *lblSubmit;
- (IBAction)close:(id)sender;
- (IBAction)advanceSearch:(id)sender;
@property (retain, nonatomic) IBOutlet UITextField *texStartDate;
@property (retain, nonatomic) IBOutlet UITextField *texEndDate;
 
@property (retain, nonatomic) IBOutlet UIButton *search;
 
@property (retain, nonatomic) IBOutlet UIButton *checkButton;
- (IBAction)checkAction:(id)sender;
@property (strong, nonatomic) id startDate;
 
@property (strong, nonatomic) id endDate;
@property (nonatomic, assign) id<advanceSearch> advanceDelegate;

- (IBAction)popOverPicker:(id)sender;
@end
